package routers

import (
	"SalesMangent/Controll"
	"github.com/gin-gonic/gin"
)

func factoryrouter(r *gin.RouterGroup) {
	r.POST("/factoryget", controll.GetFactory)
	r.POST("/factoryadd", controll.AddFactory)
	r.POST("/factorydel", controll.DelFactory)
	r.POST("/factoryput", controll.UpdateFactory)
}
